package com.qww.test04;

import static net.mindview.util.Print.print;

public class PassObject {
    public static void f(Letter y) {
        y.c = 'z';
    }
    public static void main(String[] args) {
        Letter l = new Letter();
        l.c = 'a';
        print("1: c=" + l.c);
        f(l);
        print("2: c=" + l.c);
    }
}
class Letter {
    char c;
}
